package com.migo.service.impl;

import com.migo.dao.FirmwareDescriptionDao;
import com.migo.entity.FirmwareDescriptionEntity;
import com.migo.service.FirmwareDescriptionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("firmwareDescriptionService")
public class FirmwareDescriptionServiceImpl implements FirmwareDescriptionService {
	@Autowired
	private FirmwareDescriptionDao firmwareDescriptionDao;
	
	@Override
	public FirmwareDescriptionEntity queryObject(Integer id){
		return firmwareDescriptionDao.queryObject(id);
	}
	
	@Override
	public List<FirmwareDescriptionEntity> queryList(Map<String, Object> map){
		return firmwareDescriptionDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return firmwareDescriptionDao.queryTotal(map);
	}
	
	@Override
	public void save(FirmwareDescriptionEntity firmwareDescription){
		firmwareDescriptionDao.save(firmwareDescription);
	}
	
	@Override
	public void update(FirmwareDescriptionEntity firmwareDescription){
		firmwareDescriptionDao.update(firmwareDescription);
	}
	
	@Override
	public void delete(Integer id){
		firmwareDescriptionDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		firmwareDescriptionDao.deleteBatch(ids);
	}
	
}
